package com.yonyou.cloud.member.domainmodel.services;

import com.yonyou.cloud.member.domainmodel.entities.coupon.Coupon;
import com.yonyou.cloud.member.domainmodel.vo.CouponId;
import com.yonyou.cloud.member.domainmodel.vo.MemberId;

import java.util.List;

public interface CouponService {
    List<Coupon> effectiveCoupons(MemberId memberId);

    Boolean consume(CouponId couponId);

    Boolean reset();
}